import request from '@/utils/request'

// 查询常规订单列表
export function listTechnicianItemOrder(query) {
  return request({
    url: '/technicianItemOrder/technicianItemOrder/list',
    method: 'get',
    params: query
  })
}

// 查询常规订单详细
export function getTechnicianItemOrder(id) {
  return request({
    url: '/technicianItemOrder/technicianItemOrder/' + id,
    method: 'get'
  })
}

// 新增常规订单
export function addTechnicianItemOrder(data) {
  return request({
    url: '/technicianItemOrder/technicianItemOrder',
    method: 'post',
    data: data
  })
}

// 修改常规订单
export function updateTechnicianItemOrder(data) {
  return request({
    url: '/technicianItemOrder/technicianItemOrder',
    method: 'put',
    data: data
  })
}

// 删除常规订单
export function delTechnicianItemOrder(id) {
  return request({
    url: '/technicianItemOrder/technicianItemOrder/' + id,
    method: 'delete'
  })
}
